<html>
<head>
<style>
    form{
        width:300px;
        margin : 0 auto;
        display: flex;
        flex-direction: column;

    }
</style>

</head>

<body>
    <h1 style="margin: auto;text-align: center" >留言板</h1>
    <hr><hr>
    <form method="post" action="../../../04MVC/index.php">
        留言人：<input type="text" name="name" required>
        <br>
        留言内容：<textarea name="content" required placeholder="写点什么…"></textarea>
        <br>
        <input type="submit" value="提交留言">
    </form><br>

    <hr><hr>



        <?php include 'messageView.php'; ?>
</body>
</html>